﻿using System.ComponentModel.DataAnnotations;
using GC_RF.Domain.Constants;

namespace GC_RF.Site.Models.Account
{
	public class LoginModel
	{
		#region Properties

		[Required(ErrorMessage = Templates.RequiredErrorMessage)]
		[Display(Name = "Имя пользователя")]
		public string UserName { get; set; }

		[Required(ErrorMessage = Templates.RequiredErrorMessage)]
		[DataType(DataType.Password)]
		[Display(Name = "Пароль")]
		public string Password { get; set; }

		[Display(Name = "Запомнить?")]
		public bool RememberMe { get; set; }

		#endregion
	}
}